package com.jindy.module.goodscollection.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 物品领用对象 t_goods_collection
 *
 * @author ruoyi
 * @date 2022-09-18
 */
@Data
public class GoodsCollection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 物品名称 */
    @Excel(name = "物品名称")
    private String goodsName;

    /** 数量 */
    @Excel(name = "数量")
    private Long quantity;

    /** 用途 */
    @Excel(name = "用途")
    private String purpose;

    /** 领用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date collectionTime;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 领用人id */
    @Excel(name = "领用人id")
    private Long userId;

    /** 领用人名称 */
    @Excel(name = "领用人名称")
    private String userName;

    /** 状态：0审批中 1审批通过 2审批不通过 */
    @Excel(name = "状态")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;
}
